﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Domain.Entitys.Pinv
{
    public class pinv_details
    {
        [Key]
        public int Details_id { get; set; }//采购明细id

        public int Po_Id {  get; set; }//采购订单id
        public string Pro_name { get; set; }//产品昵称
        public string Pro_code { get; set; }//产品编码
        public string Pro_brand { get; set; }//品牌
        public int Unitmeas_id { get; set; }//单位
        public string Pro_model { get; set; }//规格型号
        public decimal Po_number { get; set; }//采购数量
        public decimal Details_monovalent { get; set; }//采购单价
        public decimal Details_storage { get; set; }//已入库数量
        public string Pb_operator { get; set; }//操作员
        public decimal Podet_retqty { get; set; }//退货数量
        public string Po_code { get; set; }//采购订单编码
        [JsonIgnore]
        public Pinv_Po Min {  get; set; }
    }
}
